package com.ybox.system.mapper;

import com.ybox.system.domain.SysIcon;
import com.ybox.system.domain.vo.IconVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysIconMapper {

    List<IconVo> selectAll(@Param("isFree") Integer isFree);

    /**
     * deleteByPrimaryKey
     *
     * @param id id
     * @return int int
     */
    int deleteByPrimaryKey(Integer id);

    /**
     * insert
     *
     * @param row row
     * @return int int
     */
    int insert(SysIcon row);

    /**
     * insertSelective
     *
     * @param row row
     * @return int int
     */
    int insertSelective(SysIcon row);

    /**
     * selectByPrimaryKey
     *
     * @param id id
     * @return SysIcon SysIcon
     */
    SysIcon selectByPrimaryKey(Integer id);

    /**
     * updateByPrimaryKeySelective
     *
     * @param row row
     * @return int int
     */
    int updateByPrimaryKeySelective(SysIcon row);

    /**
     * updateByPrimaryKey
     *
     * @param row row
     * @return int int
     */
    int updateByPrimaryKey(SysIcon row);

    int updateBatch(List<SysIcon> list);

    int updateBatchSelective(List<SysIcon> list);
}